package org.springblade.modules.ehb.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.util.List;

@Data
public class EhbDictItemVO {
	/**
	 * 主键
	 */
	@JsonSerialize(using = ToStringSerializer.class)
	private Long id;
	/**
	 * 父主键
	 */
	@JsonSerialize(using = ToStringSerializer.class)
	private Long parentId;
	/**
	 * 字典码
	 */
	private String type;
	/**
	 * 描述
	 */
	private String description;
	/**
	 * 字典名称
	 */
	private String label;
	/**
	 * 字典值
	 */
	private String value;
	/**
	 * 排序
	 */
	private Integer sort;
	/**
	 * 字典备注
	 */
	private String remark;
	/**
	 * 子字典项
	 */
	private List<EhbDictItemVO> children;
}
